package com.cjack.frenchexcel.model;

import com.sargeraswang.util.ExcelUtil.ExcelCell;

import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;

public class RechargeExportModel implements Serializable {

    //第0列是行号，不处理

    @ExcelCell(index = 1)
    private String dealTimeFrench;//DATE

    @ExcelCell(index = 2)
    private String jobNumber;//员工号

    @ExcelCell(index = 3)
    private String rechargeTypeName;//Méthode

    @ExcelCell(index = 4)
    private String merchantOrderAmount;//Montant

    public String getDealTimeFrench() {
        return dealTimeFrench;
    }

    public void setDealTimeFrench(String dealTimeFrench) {
        this.dealTimeFrench = dealTimeFrench;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public String getRechargeTypeName() {
        return rechargeTypeName;
    }

    public void setRechargeTypeName(String rechargeTypeName) {
        this.rechargeTypeName = rechargeTypeName;
    }

    public String getMerchantOrderAmount() {
        return merchantOrderAmount;
    }

    public void setMerchantOrderAmount(String merchantOrderAmount) {
        this.merchantOrderAmount = merchantOrderAmount;
    }

    public static Map<String,String> getColMap(){
        //用排序的Map且Map的键应与ExcelCell注解的index对应
        Map<String,String> map = new LinkedHashMap<>();
        map.put( "a", "DATE");
        map.put( "b", "Identifiant");
        map.put( "c", "Méthode");
        map.put( "d", "Montant");

        return map;
    }
}
